PaymentPlugins\WooCommerce\PPCP\PaymentHandler A

Total Complexity 55
Dependencies 16
Dependents 8
Total lines 333
Lines of code 236
Logical lines of code 140
Comment lines 48
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
process_payment()
A
44 9 44
process_void()
A
50 8 29
process_capture()
A
47 7 35
process_refund()
A
48 7 32
get_update_order_params()
S
57 3 16
save_order_meta_data()
S
59 2 13
payment_complete()
S
60 2 12
get_create_order_params()
S
64 2 10
is_processing()
S
71 2 6
get_payment_source()
S
69 2 7
add_payment_complete_message()
S
73 2 4
get_paypal_order_id_from_request()
S
77 2 3
remove_processing()
S
81 1 3
set_processing()
S
81 1 3
__construct()
S
74 1 5
get_payment_method()
S
82 1 3
set_payment_method()
S
81 1 3
set_use_billing_agreement()
S
81 1 3
get_payment_method_token_from_paypal_order()
S
74 1 5